﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using System.Runtime.Serialization;

namespace nms.gaming.progressive.model
{
    /// <summary>
    /// </summary>
    [Serializable]
    [DataContract(Namespace = "nms.gaming", Name = "gamingevent")]
    public class GamingEvent
    {
        /// <summary>
        /// </summary>
        public GamingEvent()
        {
            Actions = new List<GamingAction>();
        }

        /// <summary>
        /// GamingEvent.Id
        /// </summary>
        [DataMember(Order = 0, Name = "id", IsRequired = true)]
        public string Id { get; set; }

        /// <summary>
        /// The host name or id
        /// </summary>
        [DataMember(Order = 1, Name = "host", IsRequired = true)]
        public string Host { get; set; }

        /// <summary>
        /// The game name or id
        /// </summary>
        [DataMember(Order = 2, Name = "game", IsRequired = true)]
        public string Game { get; set; }

        /// <summary>
        /// The action detail
        /// </summary>
        [DataMember(Order = 3, Name = "actions", IsRequired = false)]
        public List<GamingAction> Actions { get; set; }

    }
}
